package 对象引用;

import java.io.Serializable;

/**
 * 项目名称：Demo01
 * 类 名 称：Entity
 * 类 描 述：TODO
 * 创建时间：2021/03/15 10:08
 * 创 建 人：XiaoCoder
 */
public class Entity implements Serializable {
    private int id;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Entity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
